package com.kai.common.exception;

/**
 * <p>
 * 全局错误码枚举
 * </p>
 *
 * @author weijk
 * @since 2023/7/16
 */
public interface ErrorCodeConstants {

    ErrorCode SUCCESS = new ErrorCode(20000, "ok");
    ErrorCode BASE_ERROR = new ErrorCode(50000, "当前系统异常，请稍后再试");
    ErrorCode PARAMETER_ERROR = new ErrorCode(10000, "参数错误或数据异常");

}
